package com.ecc.auth.service;

import java.util.List;
import java.util.Map;
import java.util.Set;

import org.springframework.stereotype.Service;

import com.ecc.auth.pojo.SysUserDO;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;

@Service
public interface UserService {
	
	SysUserDO get(Long id);

	PageInfo<SysUserDO> listPage(Map<String, Object> map);

	List<SysUserDO> list(Map<String, Object> map);
	
	int save(SysUserDO user);

	int update(SysUserDO user);

	int remove(Long userId);

	int batchremove(List<Long> userIds);

	boolean exit(Map<String, Object> params);

	Set<String> listRoles(String userId);

	int resetPwd(SysUserDO user);
}
